package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.SysDictData;
import com.ruoyi.system.domain.dto.SysDictDataDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysDictDataMapper extends BaseMapper<SysDictData> {
    List<SysDictData> getDictDataList(SysDictDataDTO params);

    SysDictData getByValue(@Param("dictType") String dictType, @Param("dictValue")String dictValue);
}
